package se;

import java.util.Date;

/**
 * Author: hu
 * Date: 2021/11/23 17:08
 */
public class Count {
    int a = 1;
    public static void main(String[] args) throws ClassNotFoundException, InstantiationException, IllegalAccessException {

      String a="asdf.bsd.asdfwe";
        System.out.println(a.indexOf("."));
        System.out.println(a.substring(a.indexOf(".")+1));
        System.out.println(a.substring(0,a.indexOf(".")));


    }
}
